//
//  VeiwCartoonCell.m
//  drawacartoon
//
//  Created by Ji Hu on 12-7-24.
//  Copyright (c) 2012年 爱辅导. All rights reserved.
//

#import "ViewCartoonCell.h"

@implementation ViewCartoonCell

@synthesize indexLabel,cartoonPageImageView;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)set:(NSString *)index withImage:(UIImage *)image{
    
    self.indexLabel.text = index;
    self.cartoonPageImageView.image = image;
    
}

@end
